public class Vector extends AbstractVector<Vector>
Constructor and Description |
---|
Vector(Dimensionality dim) |
Vector(int numDimensions) |
Modifier and Type | Method and Description |
---|---|
void |
add(int value) |
void |
add(Vector vector2) |
int |
getPosition(int dimension) |
void |
setPosition(int dimension,
int value) |
void |
sub(int value) |
void |
sub(Vector vector2) |
public Vector(Dimensionality dim)
public Vector(int numDimensions)
public int getPosition(int dimension)
getPosition
in class AbstractVector<Vector>
public void setPosition(int dimension, int value)
setPosition
in class AbstractVector<Vector>
public void add(Vector vector2)
add
in class AbstractVector<Vector>
public void add(int value)
add
in class AbstractVector<Vector>
public void sub(Vector vector2)
sub
in class AbstractVector<Vector>
public void sub(int value)
sub
in class AbstractVector<Vector>
Copyright © 2015–2021 Fiji. All rights reserved.