@aptos-labs/ts-sdk - v4.0.0
Preparing search index...
PrivateCode
ProjPointType
Interface ProjPointType<T>
interface
ProjPointType
<
T
>
{
px
:
T
;
py
:
T
;
pz
:
T
;
get
x
()
:
T
;
get
y
()
:
T
;
_setWindowSize
(
windowSize
:
number
)
:
void
;
add
(
other
:
ProjPointType
)
:
ProjPointType
;
assertValidity
()
:
void
;
clearCofactor
()
:
ProjPointType
<
T
>
;
double
()
:
ProjPointType
;
equals
(
other
:
ProjPointType
)
:
boolean
;
hasEvenY
()
:
boolean
;
isTorsionFree
()
:
boolean
;
multiply
(
scalar
:
bigint
)
:
ProjPointType
;
multiplyAndAddUnsafe
(
Q
:
ProjPointType
<
T
>
,
a
:
bigint
,
b
:
bigint
,
)
:
undefined
|
ProjPointType
<
T
>
;
multiplyUnsafe
(
scalar
:
bigint
)
:
ProjPointType
<
T
>
;
negate
()
:
ProjPointType
;
subtract
(
other
:
ProjPointType
)
:
ProjPointType
;
toAffine
(
iz
?:
T
)
:
AffinePoint
<
T
>
;
toHex
(
isCompressed
?:
boolean
)
:
string
;
toRawBytes
(
isCompressed
?:
boolean
)
:
Uint8Array
;
}
Type Parameters
T
Hierarchy (
View Summary
)
Group
<
ProjPointType
<
T
>
>
ProjPointType
Index
Accessors
x
y
Methods
_set
Window
Size
add
assert
Validity
clear
Cofactor
double
equals
has
EvenY
is
Torsion
Free
multiply
multiply
And
Add
Unsafe
multiply
Unsafe
negate
subtract
to
Affine
to
Hex
to
Raw
Bytes
Properties
px
py
pz
Accessors
x
get
x
()
:
T
Returns
T
y
get
y
()
:
T
Returns
T
Methods
_set
Window
Size
_setWindowSize
(
windowSize
:
number
)
:
void
Parameters
windowSize
:
number
Returns
void
add
add
(
other
:
ProjPointType
)
:
ProjPointType
Parameters
other
:
ProjPointType
Returns
ProjPointType
assert
Validity
assertValidity
()
:
void
Returns
void
clear
Cofactor
clearCofactor
()
:
ProjPointType
<
T
>
Returns
ProjPointType
<
T
>
double
double
()
:
ProjPointType
Returns
ProjPointType
equals
equals
(
other
:
ProjPointType
)
:
boolean
Parameters
other
:
ProjPointType
Returns
boolean
has
EvenY
hasEvenY
()
:
boolean
Returns
boolean
is
Torsion
Free
isTorsionFree
()
:
boolean
Returns
boolean
multiply
multiply
(
scalar
:
bigint
)
:
ProjPointType
Parameters
scalar
:
bigint
Returns
ProjPointType
multiply
And
Add
Unsafe
multiplyAndAddUnsafe
(
Q
:
ProjPointType
<
T
>
,
a
:
bigint
,
b
:
bigint
,
)
:
undefined
|
ProjPointType
<
T
>
Parameters
Q
:
ProjPointType
<
T
>
a
:
bigint
b
:
bigint
Returns
undefined
|
ProjPointType
<
T
>
multiply
Unsafe
multiplyUnsafe
(
scalar
:
bigint
)
:
ProjPointType
<
T
>
Parameters
scalar
:
bigint
Returns
ProjPointType
<
T
>
negate
negate
()
:
ProjPointType
Returns
ProjPointType
subtract
subtract
(
other
:
ProjPointType
)
:
ProjPointType
Parameters
other
:
ProjPointType
Returns
ProjPointType
to
Affine
toAffine
(
iz
?:
T
)
:
AffinePoint
<
T
>
Parameters
Optional
iz
:
T
Returns
AffinePoint
<
T
>
to
Hex
toHex
(
isCompressed
?:
boolean
)
:
string
Parameters
Optional
isCompressed
:
boolean
Returns
string
to
Raw
Bytes
toRawBytes
(
isCompressed
?:
boolean
)
:
Uint8Array
Parameters
Optional
isCompressed
:
boolean
Returns
Uint8Array
Properties
Readonly
px
px
:
T
Readonly
py
py
:
T
Readonly
pz
pz
:
T
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Accessors
x
y
Methods
_set
Window
Size
add
assert
Validity
clear
Cofactor
double
equals
has
EvenY
is
Torsion
Free
multiply
multiply
And
Add
Unsafe
multiply
Unsafe
negate
subtract
to
Affine
to
Hex
to
Raw
Bytes
Properties
px
py
pz
@aptos-labs/ts-sdk - v4.0.0
Loading...