Skip to content

Fix the typo: calulate -> calculate #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -106,7 +106,7 @@ public Vector dot(Vector other) {
}

@Override
public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
public RowBasedMatrix calculate(int rowId, Vector other, Binary op) {
assert other != null;
RBCompIntDoubleMatrix res;
if (op.isInplace()) {
@@ -135,7 +135,7 @@ public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Vector other, Binary op) {
public RowBasedMatrix calculate(Vector other, Binary op) {
assert other != null;
RBCompIntDoubleMatrix res;
if (op.isInplace()) {
@@ -162,7 +162,7 @@ public RowBasedMatrix calulate(Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Matrix other, Binary op) {
public RowBasedMatrix calculate(Matrix other, Binary op) {
assert other instanceof RowBasedMatrix;

if (op.isInplace()) {
@@ -194,7 +194,7 @@ public RowBasedMatrix calulate(Matrix other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Unary op) {
public RowBasedMatrix calculate(Unary op) {
if (op.isInplace()) {
for (Vector vec : rows) {
UnaryExecutor.apply(vec, op);
Original file line number Diff line number Diff line change
@@ -106,7 +106,7 @@ public Vector dot(Vector other) {
}

@Override
public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
public RowBasedMatrix calculate(int rowId, Vector other, Binary op) {
assert other != null;
RBCompIntFloatMatrix res;
if (op.isInplace()) {
@@ -135,7 +135,7 @@ public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Vector other, Binary op) {
public RowBasedMatrix calculate(Vector other, Binary op) {
assert other != null;
RBCompIntFloatMatrix res;
if (op.isInplace()) {
@@ -162,7 +162,7 @@ public RowBasedMatrix calulate(Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Matrix other, Binary op) {
public RowBasedMatrix calculate(Matrix other, Binary op) {
assert other instanceof RowBasedMatrix;

if (op.isInplace()) {
@@ -194,7 +194,7 @@ public RowBasedMatrix calulate(Matrix other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Unary op) {
public RowBasedMatrix calculate(Unary op) {
if (op.isInplace()) {
for (Vector vec : rows) {
UnaryExecutor.apply(vec, op);
Original file line number Diff line number Diff line change
@@ -106,7 +106,7 @@ public Vector dot(Vector other) {
}

@Override
public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
public RowBasedMatrix calculate(int rowId, Vector other, Binary op) {
assert other != null;
RBCompIntIntMatrix res;
if (op.isInplace()) {
@@ -135,7 +135,7 @@ public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Vector other, Binary op) {
public RowBasedMatrix calculate(Vector other, Binary op) {
assert other != null;
RBCompIntIntMatrix res;
if (op.isInplace()) {
@@ -162,7 +162,7 @@ public RowBasedMatrix calulate(Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Matrix other, Binary op) {
public RowBasedMatrix calculate(Matrix other, Binary op) {
assert other instanceof RowBasedMatrix;

if (op.isInplace()) {
@@ -193,7 +193,7 @@ public RowBasedMatrix calulate(Matrix other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Unary op) {
public RowBasedMatrix calculate(Unary op) {
if (op.isInplace()) {
for (Vector vec : rows) {
UnaryExecutor.apply(vec, op);
Original file line number Diff line number Diff line change
@@ -106,7 +106,7 @@ public Vector dot(Vector other) {
}

@Override
public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
public RowBasedMatrix calculate(int rowId, Vector other, Binary op) {
assert other != null;
RBCompIntLongMatrix res;
if (op.isInplace()) {
@@ -135,7 +135,7 @@ public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Vector other, Binary op) {
public RowBasedMatrix calculate(Vector other, Binary op) {
assert other != null;
RBCompIntLongMatrix res;
if (op.isInplace()) {
@@ -162,7 +162,7 @@ public RowBasedMatrix calulate(Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Matrix other, Binary op) {
public RowBasedMatrix calculate(Matrix other, Binary op) {
assert other instanceof RowBasedMatrix;

if (op.isInplace()) {
@@ -193,7 +193,7 @@ public RowBasedMatrix calulate(Matrix other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Unary op) {
public RowBasedMatrix calculate(Unary op) {
if (op.isInplace()) {
for (Vector vec : rows) {
UnaryExecutor.apply(vec, op);
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ public Vector dot(Vector other) {
}

@Override
public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
public RowBasedMatrix calculate(int rowId, Vector other, Binary op) {
assert other != null;
RBCompLongDoubleMatrix res;
if (op.isInplace()) {
@@ -136,7 +136,7 @@ public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Vector other, Binary op) {
public RowBasedMatrix calculate(Vector other, Binary op) {
assert other != null;
RBCompLongDoubleMatrix res;
if (op.isInplace()) {
@@ -163,7 +163,7 @@ public RowBasedMatrix calulate(Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Matrix other, Binary op) {
public RowBasedMatrix calculate(Matrix other, Binary op) {
assert other instanceof RowBasedMatrix;

if (op.isInplace()) {
@@ -194,7 +194,7 @@ public RowBasedMatrix calulate(Matrix other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Unary op) {
public RowBasedMatrix calculate(Unary op) {
if (op.isInplace()) {
for (Vector vec : rows) {
UnaryExecutor.apply(vec, op);
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ public Vector dot(Vector other) {
}

@Override
public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
public RowBasedMatrix calculate(int rowId, Vector other, Binary op) {
assert other != null;
RBCompLongFloatMatrix res;
if (op.isInplace()) {
@@ -136,7 +136,7 @@ public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Vector other, Binary op) {
public RowBasedMatrix calculate(Vector other, Binary op) {
assert other != null;
RBCompLongFloatMatrix res;
if (op.isInplace()) {
@@ -163,7 +163,7 @@ public RowBasedMatrix calulate(Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Matrix other, Binary op) {
public RowBasedMatrix calculate(Matrix other, Binary op) {
assert other instanceof RowBasedMatrix;

if (op.isInplace()) {
@@ -195,7 +195,7 @@ public RowBasedMatrix calulate(Matrix other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Unary op) {
public RowBasedMatrix calculate(Unary op) {
if (op.isInplace()) {
for (Vector vec : rows) {
UnaryExecutor.apply(vec, op);
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ public Vector dot(Vector other) {
}

@Override
public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
public RowBasedMatrix calculate(int rowId, Vector other, Binary op) {
assert other != null;
RBCompLongIntMatrix res;
if (op.isInplace()) {
@@ -136,7 +136,7 @@ public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Vector other, Binary op) {
public RowBasedMatrix calculate(Vector other, Binary op) {
assert other != null;
RBCompLongIntMatrix res;
if (op.isInplace()) {
@@ -163,7 +163,7 @@ public RowBasedMatrix calulate(Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Matrix other, Binary op) {
public RowBasedMatrix calculate(Matrix other, Binary op) {
assert other instanceof RowBasedMatrix;

if (op.isInplace()) {
@@ -194,7 +194,7 @@ public RowBasedMatrix calulate(Matrix other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Unary op) {
public RowBasedMatrix calculate(Unary op) {
if (op.isInplace()) {
for (Vector vec : rows) {
UnaryExecutor.apply(vec, op);
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ public Vector dot(Vector other) {
}

@Override
public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
public RowBasedMatrix calculate(int rowId, Vector other, Binary op) {
assert other != null;
RBCompLongLongMatrix res;
if (op.isInplace()) {
@@ -136,7 +136,7 @@ public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Vector other, Binary op) {
public RowBasedMatrix calculate(Vector other, Binary op) {
assert other != null;
RBCompLongLongMatrix res;
if (op.isInplace()) {
@@ -163,7 +163,7 @@ public RowBasedMatrix calulate(Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Matrix other, Binary op) {
public RowBasedMatrix calculate(Matrix other, Binary op) {
assert other instanceof RowBasedMatrix;

if (op.isInplace()) {
@@ -195,7 +195,7 @@ public RowBasedMatrix calulate(Matrix other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Unary op) {
public RowBasedMatrix calculate(Unary op) {
if (op.isInplace()) {
for (Vector vec : rows) {
UnaryExecutor.apply(vec, op);
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@ public Vector dot(Vector other) {
}

@Override
public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
public RowBasedMatrix calculate(int rowId, Vector other, Binary op) {
assert other != null;
RBIntDoubleMatrix res;
if (op.isInplace()) {
@@ -125,7 +125,7 @@ public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Vector other, Binary op) {
public RowBasedMatrix calculate(Vector other, Binary op) {
assert other != null;
RBIntDoubleMatrix res;
if (op.isInplace()) {
@@ -152,7 +152,7 @@ public RowBasedMatrix calulate(Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Matrix other, Binary op) {
public RowBasedMatrix calculate(Matrix other, Binary op) {
assert other instanceof RowBasedMatrix;

if (op.isInplace()) {
@@ -183,7 +183,7 @@ public RowBasedMatrix calulate(Matrix other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Unary op) {
public RowBasedMatrix calculate(Unary op) {
if (op.isInplace()) {
for (Vector vec : rows) {
UnaryExecutor.apply(vec, op);
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@ public Vector dot(Vector other) {
}

@Override
public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
public RowBasedMatrix calculate(int rowId, Vector other, Binary op) {
assert other != null;
RBIntFloatMatrix res;
if (op.isInplace()) {
@@ -125,7 +125,7 @@ public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Vector other, Binary op) {
public RowBasedMatrix calculate(Vector other, Binary op) {
assert other != null;
RBIntFloatMatrix res;
if (op.isInplace()) {
@@ -152,7 +152,7 @@ public RowBasedMatrix calulate(Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Matrix other, Binary op) {
public RowBasedMatrix calculate(Matrix other, Binary op) {
assert other instanceof RowBasedMatrix;

if (op.isInplace()) {
@@ -183,7 +183,7 @@ public RowBasedMatrix calulate(Matrix other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Unary op) {
public RowBasedMatrix calculate(Unary op) {
if (op.isInplace()) {
for (Vector vec : rows) {
UnaryExecutor.apply(vec, op);
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@ public Vector dot(Vector other) {
}

@Override
public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
public RowBasedMatrix calculate(int rowId, Vector other, Binary op) {
assert other != null;
RBIntIntMatrix res;
if (op.isInplace()) {
@@ -125,7 +125,7 @@ public RowBasedMatrix calulate(int rowId, Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Vector other, Binary op) {
public RowBasedMatrix calculate(Vector other, Binary op) {
assert other != null;
RBIntIntMatrix res;
if (op.isInplace()) {
@@ -152,7 +152,7 @@ public RowBasedMatrix calulate(Vector other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Matrix other, Binary op) {
public RowBasedMatrix calculate(Matrix other, Binary op) {
assert other instanceof RowBasedMatrix;

if (op.isInplace()) {
@@ -183,7 +183,7 @@ public RowBasedMatrix calulate(Matrix other, Binary op) {
}

@Override
public RowBasedMatrix calulate(Unary op) {
public RowBasedMatrix calculate(Unary op) {
if (op.isInplace()) {
for (Vector vec : rows) {
UnaryExecutor.apply(vec, op);
Loading