Skip to content
Snippets Groups Projects
Commit 37ebafdb authored by loick.pipolo's avatar loick.pipolo
Browse files

fonction dot transpose

parent 94bd5285
No related branches found
No related tags found
No related merge requests found
package ch.hepia.numeric;
public class Transposed{
private Transposed(){};
private Transposed(){
};
public double dot(Vector That){
throw new UnsupportedOperationException("This feature isn't implemented yet");
double res = 0.0;
Integer count = 0;
for (double coo : This) {
res = res + (coo * That.get(count));
count = count + 1;
}
return res;
//throw new UnsupportedOperationException("This feature isn't implemented yet");
};
public Vector sub(Vector That){
throw new UnsupportedOperationException("This feature isn't implemented yet");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment