Modular class

Implemented types
Mixed-in types

Constructors

Modular(int value, int mod)
Modular.define(int mod)

Properties

hashCode int
The hash code for this object.
no setterinherited
mod int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
getter/setter pair

Methods

addIdentity() Modular
override
call(int value) Modular
factorial() List<Modular>
inv() Modular
override
invFactorial() List<Modular>
mulIdentity() Modular
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow(int n) Modular
inherited
toString() String
A string representation of this object.
override

Operators

operator *(Modular other) Modular
override
operator +(Modular other) Modular
override
operator -(Modular other) Modular
inherited
operator /(Modular other) Modular
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator unary-() Modular
override