A basis (of e.g. vectors) spans a space (such as vector space).
Questions tagged [basis]
28 questions
0
votes
0 answers
How do I get the b-complement of 193 for b = 5?
So I am supposed to find the b-complement for 193 given that b = 5 and the number of digits allowed is n = 6.
Now I think I am a bit confused regarding the b-complement in general.
Is it that whenever b is odd, just like in the case we have here,…

FishyK
- 121
- 1
- 7
0
votes
0 answers
Do [T]EE and [T]BE have the same eigenvalues?
I know there are plenty of questions regarding 2 matrices one is [T]BB and one is [T]EE , so we all know that eigenvalues and eigenvectors are kept across different bases.
My question is what happens when you have a transformation from one basis to…

bilanush
- 139
- 8
0
votes
0 answers
How to find non-orthogonal bases of a data matrix in python?
I have a data matrix of size mXn. I want to know how to find a set of non-orthogonal vectors of the matrix where each vector is of size mX1 and the number of basis vectors, say k << n, in python.

Sushodhan
- 400
- 1
- 6
- 16
0
votes
1 answer
In CPLEX, how to find a variable in the model is in the basis or not?
I am looking for a simple way to obtain the list of base variables a LP problem with CPLEX, or a way to indicate a variable is in basis or not?
Actually, I am working on a column generation algorithm. After solving the Restricted Master Problem, the…

mmahnam
- 7
- 5
0
votes
1 answer
What is the meaning of evaluating a spline's basis function?
I'm trying to understand the workflow for implementing the bspline basis function.
tauf Vd
0 0
0.048 502.8944826
0.072 743.5034753
0.096 791.2514106
0.12 825.3244319
0.144 858.1731717
0.168 889.1381766
0.192 …

Ankit Bansal
- 317
- 4
- 14
0
votes
1 answer
Get all extreme points of Linear Program in CPLEX
I need to enumerate all basis corresponding to all extreme points of a LP with the CPLEX API in Java. Unfortunately I did not find any way to do this with CPLEX. Is there a solution ?
If not, I will do this myself but I will need to play with basis.…

Aurelien
- 67
- 5
0
votes
1 answer
Random Gaussian with standard deviation
I want to intialize a array with random gaussian with standard deviation of 0.08 in python.
I was able to find something like this
self.biases = [np.random.randn(y, 1) for y in sizes[1:]]
However it for standard deviation of 1.

kitty
- 55
- 6
0
votes
1 answer
Natural spline basis in R
Hi all, I hope you can help me on this problem.
I am using the ns(...) command in R to generate a base of natural splines, including
1 internal knot
2 boundary knots
Intercept equal to T
Let's say as an example, ns(1:20, knots=9,…

LZG
- 59
- 1
- 7
0
votes
1 answer
Accurev undo a revert to basis
In Accurev I have accidently purge a stream by doing a revert to basis while trying to pull the latest from the stream. This removed all the files within the stream. Is it possible to undo it? and how?

kennyT07
- 65
- 1
- 1
- 6
0
votes
1 answer
How to find knot vector if control points are known for a NURBS curve?
I have a set of control points
pts = [[849, 1181],
[916, 1257],
[993, 1305],
[1082,1270],
[1137,1181],
[1118,1055],
[993,1034],
[873,1061],
[849, 1181]]
I have the logic for generating an…

snelzb
- 157
- 3
- 16
0
votes
0 answers
How to check if elements form a primitive system of a lattice
Given a collection of vectors $V = {v_1, v_2, ..., v_k}$ belonging to a lattice $L$ with basis $B$, is there an efficient procedure that can determine whether or not $V$ forms a primitive system for $L$? This means that if $L$ has rank $n \geq k$,…

Latrace
- 1
0
votes
0 answers
Cycles from a specific node in directed graph networkx
I am trying to find the independent cycles coming out from from a specific node in a graph in netowrkx. The algorithms there are implemented for undirected (with an option for node) and for undirected (without an option for node…

Steve
- 1,178
- 1
- 7
- 18
0
votes
1 answer
Converting an array containing the power set of a positive integer d to an array with standard elementary vectors in d-dimensional space
Example of what I am trying to do: convert the power set of d = 2 using range(2):
[(), (0,), (1,), (0, 1)]
or using range(1, 3, 1):
[(), (1,), (2,), (1, 2)]
into the following array of arrays:
[[0, 0], [1, 0], [0, 1], [1, 1]]
More generally, I…

Mee Seong Im
- 131
- 1
- 8