Package | Description |
---|---|
de.bsvrz.sys.funclib.bitctrl.math |
Hilfsfunktionen zur Bearbeitung von Zahlen und Mathematik.
|
de.bsvrz.sys.funclib.bitctrl.math.algebra |
Mathematische Hilfsfunktionen für (lineare) Algebra.
|
Modifier and Type | Field and Description |
---|---|
static RationaleZahl |
RationaleZahl.EINS
Repräsentiert 1 als rationale Zahl.
|
static RationaleZahl |
RationaleZahl.NULL
Repräsentiert 0 als rationale Zahl.
|
Modifier and Type | Method and Description |
---|---|
static RationaleZahl |
RationaleZahl.addiere(long a,
long b)
Addiert zwei ganze Zahlen.
|
static RationaleZahl |
RationaleZahl.addiere(RationaleZahl a,
long b)
Addiert eine rationale mit einer ganzen Zahl.
|
static RationaleZahl |
RationaleZahl.addiere(RationaleZahl a,
RationaleZahl b)
Addiert zwei rationale Zahlen.
|
static RationaleZahl |
RationaleZahl.dividiere(long a,
long b)
Dividiert zwei ganze Zahlen.
|
static RationaleZahl |
RationaleZahl.dividiere(long a,
RationaleZahl b)
Dividiert eine ganze durch eine rationale Zahl.
|
static RationaleZahl |
RationaleZahl.dividiere(RationaleZahl a,
long b)
Dividiert eine rationale durch eine ganze Zahl.
|
static RationaleZahl |
RationaleZahl.dividiere(RationaleZahl a,
RationaleZahl b)
Dividiert zwei rationale Zahlen.
|
RationaleZahl |
RationaleZahl.kehrwert()
Bildet den Kehrwert der rationalen Zahl.
|
static RationaleZahl |
RationaleZahl.kuerze(RationaleZahl a)
Kürzt einen Bruch.
|
static RationaleZahl |
RationaleZahl.multipliziere(long a,
long b)
Multipliziert zwei ganze Zahlen.
|
static RationaleZahl |
RationaleZahl.multipliziere(RationaleZahl a,
long b)
Multipliziert eine rationale Zahlen mit einer ganzen Zahl.
|
static RationaleZahl |
RationaleZahl.multipliziere(RationaleZahl a,
RationaleZahl b)
Multipliziert zwei rationale Zahlen.
|
static RationaleZahl |
RationaleZahl.potenz(RationaleZahl basis,
int exponent)
Berechnet die Potenz einer rationalen Basis mit einem ganzzahligen
Exponenten.
|
static RationaleZahl |
RationaleZahl.subtrahiere(long a,
long b)
Subtrahiert zwei ganze Zahlen.
|
static RationaleZahl |
RationaleZahl.subtrahiere(long a,
RationaleZahl b)
Subtrahiert eine rationale von einer ganzen Zahl.
|
static RationaleZahl |
RationaleZahl.subtrahiere(RationaleZahl a,
long b)
Subtrahiert eine ganze von einer rationalen Zahl.
|
static RationaleZahl |
RationaleZahl.subtrahiere(RationaleZahl a,
RationaleZahl b)
Subtrahiert zwei rationale Zahlen.
|
Modifier and Type | Method and Description |
---|---|
static RationaleZahl |
RationaleZahl.addiere(RationaleZahl a,
long b)
Addiert eine rationale mit einer ganzen Zahl.
|
static RationaleZahl |
RationaleZahl.addiere(RationaleZahl a,
RationaleZahl b)
Addiert zwei rationale Zahlen.
|
int |
RationaleZahl.compareTo(RationaleZahl zahl) |
static RationaleZahl |
RationaleZahl.dividiere(long a,
RationaleZahl b)
Dividiert eine ganze durch eine rationale Zahl.
|
static RationaleZahl |
RationaleZahl.dividiere(RationaleZahl a,
long b)
Dividiert eine rationale durch eine ganze Zahl.
|
static RationaleZahl |
RationaleZahl.dividiere(RationaleZahl a,
RationaleZahl b)
Dividiert zwei rationale Zahlen.
|
static RationaleZahl |
RationaleZahl.kuerze(RationaleZahl a)
Kürzt einen Bruch.
|
static RationaleZahl |
RationaleZahl.multipliziere(RationaleZahl a,
long b)
Multipliziert eine rationale Zahlen mit einer ganzen Zahl.
|
static RationaleZahl |
RationaleZahl.multipliziere(RationaleZahl a,
RationaleZahl b)
Multipliziert zwei rationale Zahlen.
|
static RationaleZahl |
RationaleZahl.potenz(RationaleZahl basis,
int exponent)
Berechnet die Potenz einer rationalen Basis mit einem ganzzahligen
Exponenten.
|
static RationaleZahl |
RationaleZahl.subtrahiere(long a,
RationaleZahl b)
Subtrahiert eine rationale von einer ganzen Zahl.
|
static RationaleZahl |
RationaleZahl.subtrahiere(RationaleZahl a,
long b)
Subtrahiert eine ganze von einer rationalen Zahl.
|
static RationaleZahl |
RationaleZahl.subtrahiere(RationaleZahl a,
RationaleZahl b)
Subtrahiert zwei rationale Zahlen.
|
Constructor and Description |
---|
RationaleZahl(RationaleZahl zahl)
Konstruiert eine rationale Zahl aus einer anderen.
|
Modifier and Type | Method and Description |
---|---|
RationaleZahl |
Vektor.betragQuadrat()
Gibt den quadrierten Betrag (=Länge) des Vektors zurück.
|
RationaleZahl |
Vektor.get(int i)
Gibt eine bestimmte Komponente des Vektors zurück.
|
RationaleZahl |
Matrix.get(int i,
int j)
Gibt ein bestimmtes Element der Matrix zurück.
|
static RationaleZahl |
Vektor.skalarprodukt(Vektor a,
Vektor b)
Berechnet das Skalarprodukt zweier Vektoren.
|
Modifier and Type | Method and Description |
---|---|
static Matrix |
Matrix.dividiere(Matrix a,
RationaleZahl s)
Dividiert eine Matrix durch ein Skalar.
|
static Vektor |
Vektor.dividiere(Vektor a,
RationaleZahl s)
Dividiert einen Vektor mit einem Skalar.
|
static Matrix |
Matrix.multipliziere(Matrix a,
RationaleZahl s)
Multipliziert eine Matrix mit einem Skalar.
|
static Vektor |
Vektor.multipliziere(Vektor a,
RationaleZahl s)
Multipliziert einen Vektor mit einem Skalar.
|
void |
Matrix.set(int i,
int j,
RationaleZahl wert)
Legt den Wert eines bestimmten Elements der Matrix fest.
|
void |
Vektor.set(int i,
RationaleZahl wert)
Setzt den Wert einer Vektorkomponente.
|
Constructor and Description |
---|
Vektor(RationaleZahl... vektor)
Konstruiert einen Vektor aus einem Feld.
|
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.