Skip to content
Snippets Groups Projects

David

Files

 
package ch.hepia.numeric;
 
 
public class Transposed{
 
 
final private Vector v;
 
 
Transposed(Vector v) {
 
this.v = v;
 
}
 
public double dot(Vector vect){
 
throw new UnsupportedOperationException("This feature isn't implemented yet");
 
}
 
 
public Transposed sub(Transposed t){
 
return new Transposed(t.v.sub(v));
 
}
 
 
public Vector t(){
 
return this.v;
 
}
 
}
Loading