Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
poo2019numeric
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steven.liatti
poo2019numeric
Merge requests
!2
Tanguy
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Tanguy
david.carballo/poo2019numeric:Tanguy
into
master
Overview
0
Commits
28
Pipelines
0
Changes
5
Open
tanguy.dietrich
requested to merge
david.carballo/poo2019numeric:Tanguy
into
master
5 years ago
Overview
0
Commits
28
Pipelines
0
Changes
5
Expand
merge request de tanguy vers master
0
0
Merge request reports
Viewing commit
b8af75a7
Prev
Next
Show latest version
5 files
+
309
−
20
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
b8af75a7
Merge branch 'master' of
ssh://ssh.hesge.ch:10572/steven.liatti/poo2019numeric
· b8af75a7
tanguy.dietrich
authored
5 years ago
src/main/java/ch/hepia/numeric/Vector.java
0 → 100644
+
129
−
0
Options
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