FS

scas.scripting.FS$package.FS
object FS extends Factors[BigInteger, Int]

Attributes

Graph
Supertypes
trait Factors[BigInteger, Int]
trait Ring[Map[BigInteger, Int]]
trait Monoid[Map[BigInteger, Int]]
trait SemiGroup[Map[BigInteger, Int]]
trait AbelianGroup[Map[BigInteger, Int]]
trait Structure[Map[BigInteger, Int]]
trait Show[Map[BigInteger, Int]]
trait Equiv[Map[BigInteger, Int]]
trait Equiv[Map[BigInteger, Int]]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
FS.type

Members list

Value members

Concrete methods

def apply[U : Conversion[BigInteger]](x: U): Map[BigInteger, Int]
override def apply(x: BigInteger): Map[BigInteger, Int]

Attributes

Definition Classes
def empty: Map[BigInteger, Int]
final def factor(x: BigInteger, map: FS, primes: LazyList[BigInteger]): FS
def sieve(n: BigInteger): LazyList[BigInteger]

Inherited methods

def abs[U : Conversion[Map[BigInteger, Int]]](x: U): Map[BigInteger, Int]

Attributes

Inherited from:
AbelianGroup
def abs(x: Map[BigInteger, Int]): Map[BigInteger, Int]

Attributes

Inherited from:
AbelianGroup
def characteristic: BigInteger

Attributes

Inherited from:
Factors
def equiv(x: Map[BigInteger, Int], y: Map[BigInteger, Int]): Boolean

Attributes

Inherited from:
Factors
def fenced(s: String): String

Attributes

Inherited from:
Structure
def fromInt(n: BigInteger): Map[BigInteger, Int]

Attributes

Inherited from:
Factors
def fromInt[U : Conversion[BigInteger]](x: U): Map[BigInteger, Int]

Attributes

Inherited from:
Ring
def random(numbits: Int)(using rnd: Random): Map[BigInteger, Int]

Attributes

Inherited from:
Structure
def toMathML: String

Attributes

Inherited from:
Factors
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Factors -> Any
Inherited from:
Factors

Concrete fields

val primes: LazyList[BigInteger]

Inherited fields

override val one: Map[BigInteger, Int]

Attributes

Inherited from:
Factors
override val zero: Map[BigInteger, Int]

Attributes

Inherited from:
Factors

Givens

Givens

override given ring: Ring[BigInteger]

Inherited givens

given bigInt2ring[U : Conversion[BigInteger]]: U => Map[BigInteger, Int]

Attributes

Inherited from:
Ring

Extensions

Inherited extensions

extension (a: Map[BigInteger, Int])
def \[U : Conversion[BigInteger]](b: U): Map[BigInteger, Int]

Attributes

Inherited from:
Monoid
def \:[U : Conversion[BigInteger]](b: U): Map[BigInteger, Int]

Attributes

Inherited from:
Monoid
def pow(b: BigInteger): Map[BigInteger, Int]

Attributes

Inherited from:
Monoid
extension (x: Map[BigInteger, Int])
inline def <>[U : Conversion[Map[BigInteger, Int]]](y: U): Boolean

Attributes

Inherited from:
Equiv
inline def ><[U : Conversion[Map[BigInteger, Int]]](y: U): Boolean

Attributes

Inherited from:
Equiv
extension (x: Map[BigInteger, Int])
inline def *[U : Conversion[Map[BigInteger, Int]]](y: U): Map[BigInteger, Int]

Attributes

Inherited from:
SemiGroup
extension (x: Map[BigInteger, Int])
inline def +[U : Conversion[Map[BigInteger, Int]]](y: U): Map[BigInteger, Int]

Attributes

Inherited from:
AbelianGroup
inline def -[U : Conversion[Map[BigInteger, Int]]](y: U): Map[BigInteger, Int]

Attributes

Inherited from:
AbelianGroup
extension (x: Map[BigInteger, Int])
def show: String

Attributes

Inherited from:
Structure
extension (x: Map[BigInteger, Int])
def add(y: Map[BigInteger, Int]): Map[BigInteger, Int]

Attributes

Inherited from:
Factors
def expand: BigInteger

Attributes

Inherited from:
Factors
override def isOne: Boolean

Attributes

Definition Classes
Factors -> Monoid
Inherited from:
Factors
def isUnit: Boolean

Attributes

Inherited from:
Factors
override def isZero: Boolean

Attributes

Definition Classes
Factors -> AbelianGroup
Inherited from:
Factors
def multiply(y: Map[BigInteger, Int]): Map[BigInteger, Int]

Attributes

Inherited from:
Factors
def signum: Int

Attributes

Inherited from:
Factors
def subtract(y: Map[BigInteger, Int]): Map[BigInteger, Int]

Attributes

Inherited from:
Factors
override def unary_-: Map[BigInteger, Int]

Attributes

Definition Classes
Factors -> AbelianGroup
Inherited from:
Factors
extension (x: Map[BigInteger, Int])
def toCode(level: Level): String

Attributes

Inherited from:
Factors
extension (x: Map[BigInteger, Int])
def toMathML: String

Attributes

Inherited from:
Factors

Exports

Inherited defined exports

final val Level: Level
Exported from prettyprint

Attributes

Inherited from:
Structure
final type Level = Level
Exported from prettyprint

Attributes

Inherited from:
Structure