- add(left): ((right) => Readonly<{
nums: Float64Array;
strides: Strides;
}>) Parameters
left: Readonly<{
nums: Float64Array;
strides: Strides;
}>
Returns ((right) => Readonly<{
nums: Float64Array;
strides: Strides;
}>)
The sum matrix of two.
- (right): Readonly<{
nums: Float64Array;
strides: Strides;
}> Parameters
right: Readonly<{
nums: Float64Array;
strides: Strides;
}>
Returns Readonly<{
nums: Float64Array;
strides: Strides;
}>
Adds two matrices by element wise. Throws if the shapes of them are unequal.