Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MatrixCalculator
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
maikov
MatrixCalculator
Commits
427109cd
Commit
427109cd
authored
2 weeks ago
by
T2heJada
Browse files
Options
Downloads
Patches
Plain Diff
Uuendasin juhendit kasutajaliideses
parent
54cbb974
Branches
Kasutajaliides
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/ee/ut/cs/gitlab/maikov/Kasutajaliides.java
+6
-4
6 additions, 4 deletions
src/main/java/ee/ut/cs/gitlab/maikov/Kasutajaliides.java
with
6 additions
and
4 deletions
src/main/java/ee/ut/cs/gitlab/maikov/Kasutajaliides.java
+
6
−
4
View file @
427109cd
...
...
@@ -250,9 +250,9 @@ public class Kasutajaliides {
return
(
algus
+
(
Math
.
random
()
*
(
lõpp
-
algus
)));
}
// Tagastab suvalise arvu vahemikust Algus, lõpp,
astmega aste
public
static
double
suva_arv
(
double
algus
,
double
lõpp
,
double
aste
)
{
return
((
int
)
suva_arv
(
algus
/
aste
,
Math
.
floor
(
lõpp
/
aste
)
+
1
))
*
aste
;
// Tagastab suvalise arvu vahemikust Algus, lõpp,
sammuga samm
public
static
double
suva_arv
(
double
algus
,
double
lõpp
,
double
samm
)
{
return
((
int
)
suva_arv
(
algus
/
samm
,
Math
.
floor
(
lõpp
/
samm
)
+
1
))
*
aste
;
}
// Tagastab täisarvu vahemikust algus, lõpp
...
...
@@ -374,11 +374,13 @@ public class Kasutajaliides {
+
System
.
lineSeparator
()
+
"| Maatrikseid saab luua kujul {{1,2},{3,4}}"
+
System
.
lineSeparator
()
+
"| Astendamine sümboliga '^'"
+
System
.
lineSeparator
()
+
"| Maatriksi transponeerimine: m^T"
+
System
.
lineSeparator
()
+
"| Maatriksi pöördmaatriks: m^-1"
+
System
.
lineSeparator
()
+
"|
Astmesse tõstmist hetkel ei toetata
"
+
"|
Ruutmaatriks astmes 0 on sama järgu ühikmaatriks
"
+
System
.
lineSeparator
()
+
"| %LIST - Annab loetelu olemasolevates nimedest"
+
System
.
lineSeparator
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment