{"id":70913,"library":"spire-2-13","title":"Spire","description":"A numeric library for Scala providing advanced mathematical abstractions and types.","status":"active","version":"0.18.0","language":"java","source_language":null,"source_url":"https://github.com/typelevel/spire","tags":["scala","math","numeric","spire"],"install":[{"cmd":"<dependency>\n  <groupId>org.typelevel</groupId>\n  <artifactId>spire_2.13</artifactId>\n  <version>0.18.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.typelevel:spire_2.13:0.18.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Complex","correct":"spire.math.Complex"}],"quickstart":{"code":"import spire.math.Complex;\nComplex<Double> c = new Complex<>(1.0, 2.0);\nSystem.out.println(c.abs());","lang":"scala","description":"Create a complex number and compute its magnitude."},"warnings":[],"env_vars":null,"search_vec":"'abstract':10 'advanc':8 'librari':4 'math':14 'mathemat':9 'numer':3,15 'provid':7 'scala':6,13 'spire':1,16 'type':12","created_at":"2026-06-17T18:20:28.250007+00:00","updated_at":"2026-06-17T18:20:28.250007+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://typelevel.org/spire/","github":"https://github.com/typelevel/spire","docs":"https://appdoc.app/artifact/org.typelevel/spire_2.13/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}