Skip to content
Snippets Groups Projects

Tanguy

Open tanguy.dietrich requested to merge david.carballo/poo2019numeric:Tanguy into master
5 files
+ 309
20
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 129
0
package ch.hepia.numeric;
import java.util.List;
import java.util.function.DoubleFunction;
import java.util.function.Function;
final public class Vector {
private Vector() {}
private Vector(Double... elements) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
private Vector(List<Double> elements) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public Transposed t() {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public int len() {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public double get(int i) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
void set(int i, double value) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public Vector add(Vector that) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public Vector mul(double m) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public Vector sub(Vector that) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public double norm() {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public Vector sliceFrom(int i) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public Vector sliceTo(int i) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public Vector slice(int from, int to) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public Vector removed(int i) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public Vector concat(Vector that) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public Vector map(DoubleFunction<Double> f) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public Vector copy() {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
void checkVectorLengthOrThrow(Vector that){
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public static Vector of(Double... elements) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public static Vector of(List<Double> elements) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public static Vector empty() {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public static Vector fill(int nb, double value) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public static Vector zeros(int nb) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public static Vector ones(int nb) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public static Vector linespace(double from, double to, int nb) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public static Vector tabulate(int nb, Function<Integer, Double> f) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public static Vector sum(List<Vector> vs) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
public static double norms(List<Vector> vs) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
@Override
public String toString() {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
@Override
public boolean equals(Object obj) {
throw new UnsupportedOperationException("This feature isn't implemented yet");
}
}
Loading