15,917,618 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Zhang, G. (Top 11 by date)
Zhang, G.
10-Dec-17 18:20pm
View
In fact, the list can accomplish this function.
however, the numpy.array has more attribute and functions to use. so I still want use the array to store the data.
Zhang, G.
10-Dec-17 17:51pm
View
I mean to use the numpy.array to store a two-dimensional data, the first dim store the file or line number and the second dim store the data. And the data in each file or each line has different sum number.
another example:
data.csv
1, 2, 3, 4, 5
1, 2, 4
2, 3, 5, 9, 10, 2, 3, 4, 7
1, 2
....
I want to use an array x[lineNum][data] to store them
len(x[0])=5
len(x[1])=3
len(x[2])=9
len(x[3])=2
....
in the code, we usually use the numpy.vstack(x, item) to add the data of each line
to the array.
but the vstack requires the data of each line should be the same length,
it will works under condition that the len(x[0])=len(x[1])=len(x[2])=...=len(x[N])
How to use the array to accomplish this function?
Zhang, G.
9-May-14 2:17am
View
Because the u.Count is not a fixed value.
in fact, I want to define:
private int nx;
public int Nx{get...set...}
private List<double> u=new List<double> (Nx)
but it is not work.
Zhang, G.
11-Apr-14 21:48pm
View
Thank you!!
Zhang, G.
11-Apr-14 21:48pm
View
Thank you!!
Zhang, G.
11-Apr-14 21:48pm
View
Thank you!!!!
Zhang, G.
11-Apr-14 21:47pm
View
Thank you!!!!!!!
Zhang, G.
1-Mar-14 8:08am
View
Thank you.
Zhang, G.
28-Jan-14 7:43am
View
yes, so I want to write a program by C# to build this mesh. If I want to achieve it, which function should use?
Zhang, G.
28-Jan-14 7:13am
View
I am sorry. This is my first time to enter the website and ask question, I do not know how to upload the image.
Zhang, G.
28-Jan-14 7:09am
View
It is a map about three-dimensional finite differece meshes.
the map in the follow URL(http://q.cnblogs.com/q/59233/)
Show More