work develope matrix of difusive concentration

2013-09-26 Thread D.YAN ESCOLAR RAMBAL
Good morning all thanks for your help. Now I`ve a question, if I need create a matrix, method of thomas, ghost nodes, etc.. for developed one aplicative for the ecuation of difusion in 1d, 2d, 3d, 4d. It`s better use phyton 3.3 or 2.7?, if the answer is phyton 3.3 that interpreter is similar to ap

TypeError: only length-1 arrays can be converted to Python

2013-09-20 Thread D.YAN ESCOLAR RAMBAL
this the code, __ import math import numexpr as ne import matplotlib.pyplot as plt import numpy as np import numba as nb M = 10 A = 10 D = 0.1 xmin = -4 xmax = 4 n = 800 tfinal = 3 tinicial = 1 # GENERANDO VECTOR CON PUNTOS DE DISCRETIZ