python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
inner function changing the variable value of outer function
def swap(i,r,c,mat):
for j in range(i+1,c):
if(abs(mat[j][j])>0):
mat[[j,i]] = mat[[i,j]]
break
return mat
def upper_triMat(matA,r,c):
np.set_printo...

user15897459
Votes: 0
Answers: 1
How to compute a negative Sobolev norm with Matlab
Let the torus T^2 be the domain [0,1)^2 in R^2 with periodic boundary conditions. In general, the negative Sobolev norm H^(-1) of a function f defined on the torus can be computed as:
a dual norm fro...
Víctor
Votes: 0
Answers: 0
How to Make Python Print something at nth Iteration within a For Loop?
I want to preface my question by saying that I am very new to Python and have only started using it for a specific class in grad school.
I have written a script to find the root of a function using it...
Shahreem Ahsan
Votes: 0
Answers: 2
Feignebaum delta computation using Matlab
I am new to Matlab and currently trying to pass an online course on it. The task is to compute Feigenbauim's constant, delta, which is the limiting ratio of each bifurcation interval to the next betw...

Nikolay Cherednychenko
Votes: 0
Answers: 0