Class: Group
Table of contents
Constructors
Properties
Methods
- add
- assertEquals
- equals
- neg
- scale
- sub
- toJSON
- add
- assertEqual
- check
- equal
- fromJSON
- neg
- ofFields
- scale
- sizeInFields
- sub
- toFields
- toJSON
Constructors
constructor
• new Group(args
)
Parameters
Name | Type |
---|---|
args | Object |
args.x | string | number | boolean | Field |
args.y | string | number | boolean | Field |
Defined in
• new Group(x
, y
)
Parameters
Name | Type |
---|---|
x | string | number | boolean | Field |
y | string | number | boolean | Field |
Defined in
Properties
x
• x: Field
Defined in
y
• y: Field
Defined in
generator
▪ Static
generator: Group
Defined in
Methods
add
▸ add(y
): Group
Parameters
Name | Type |
---|---|
y | Group |
Returns
Defined in
assertEquals
▸ assertEquals(y
): void
Parameters
Name | Type |
---|---|
y | Group |
Returns
void
Defined in
equals
▸ equals(y
): Bool
Parameters
Name | Type |
---|---|
y | Group |
Returns
Defined in
neg
▸ neg(): Group
Returns
Defined in
scale
▸ scale(y
): Group
Parameters
Name | Type |
---|---|
y | Scalar |
Returns
Defined in
sub
▸ sub(y
): Group
Parameters
Name | Type |
---|---|
y | Group |
Returns
Defined in
toJSON
▸ toJSON(): JSONValue
Returns
JSONValue
Defined in
add
▸ Static
add(x
, y
): Group
Parameters
Name | Type |
---|---|
x | Group |
y | Group |
Returns
Defined in
assertEqual
▸ Static
assertEqual(x
, y
): void
Parameters
Name | Type |
---|---|
x | Group |
y | Group |
Returns
void
Defined in
check
▸ Static
check(g
): void
Parameters
Name | Type |
---|---|
g | Group |
Returns
void
Defined in
equal
▸ Static
equal(x
, y
): Bool
Parameters
Name | Type |
---|---|
x | Group |
y | Group |
Returns
Defined in
fromJSON
▸ Static
fromJSON(__namedParameters
): null
| Group
Parameters
Name | Type |
---|---|
__namedParameters | Object |
__namedParameters.x | string | number |
__namedParameters.y | string | number |
Returns
null
| Group
Defined in
neg
▸ Static
neg(x
): Group
Parameters
Name | Type |
---|---|
x | Group |
Returns
Defined in
ofFields
▸ Static
ofFields(fields
): Group
Parameters
Name | Type |
---|---|
fields | Field [] |
Returns
Defined in
scale
▸ Static
scale(x
, y
): Group
Parameters
Name | Type |
---|---|
x | Group |
y | Scalar |
Returns
Defined in
sizeInFields
▸ Static
sizeInFields(): number
Returns
number
Defined in
sub
▸ Static
sub(x
, y
): Group
Parameters
Name | Type |
---|---|
x | Group |
y | Group |
Returns
Defined in
toFields
▸ Static
toFields(x
): Field
[]
Parameters
Name | Type |
---|---|
x | Group |
Returns
Field
[]
Defined in
toJSON
▸ Static
toJSON(x
): JSONValue
Parameters
Name | Type |
---|---|
x | Group |
Returns
JSONValue