自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 gnuplot error: column() called from invalid context

2019-05-17 13:23:58 866

转载 gfortran :Cannot assign to a named constant

if后面没有加then

2019-05-01 10:39:15 2140

转载 为Fortran或者C编写简单的Makefile文件

贴一些网址:http://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/简单为C写makefilehttps://docs.oracle.com/cd/E19205-01/819-5263/aevog/index.html这是对fortan中编译时会出现的mod文件做的说明,其主要观点是当编译一个module时不仅会生成....

2019-04-05 18:14:34 2277

原创 fortran中open中可以使用已定义的字符串变量,关键是不能省略file=

program main implicit none integer,parameter :: number=160 integer,parameter :: lanzhou=138 integer,parameter :: byear=1951!the beginning integer,parameter :: cyear=201...

2019-03-06 18:54:28 686

翻译 线性代数:矩阵的四种乘法

AB=C shape: A mxn , B nxp, C mxp1、Cij=(row i of A)* (column j of B)2、Matrix A times every column of BA[b1 ... bp]=[Ab1 ... Abp]3、Every row of A times matrix B[row i of A] B= [row i of AB]...

2019-02-18 12:51:38 1669

翻译 C++下标运算符重载的一些理解

重载二维数组时,调用时如a[1][2], 其实质应该是:(假设数组类型为int)a.operator[](1)返回int*,int*作为行指针调用(int*)[2],达到目的。分享mooc郭炜老师的一道题目:(关于三维数组下标符重载)#include <iostream>#include <iomanip> #include <cstring&gt...

2019-02-03 11:18:34 1467

翻译 C++复制构造函数起作用的三种情况

复制构造函数起作用的三种情况:1、当用一个对象去初始化另一个对象时Complex c1(c2)Complex c1=c2;//初始化语句非赋值语句2、如果某一个函数是类A的对象,那么该函数被调用时类A的复制构造函数会被调用class A{ public: A() {}; A(A& a) { cout<&lt...

2019-01-27 22:14:01 860

原创 Fortran : sign

program mainimplicit noneif (-0.0 == 0.0) write(*,*) "for other manipulations they are indentical "! don't do such thing for real variablesif (sign(2.0, -0.0) < sign(2.0, 0.0)) write (*,*)"for...

2018-11-20 15:15:11 2367

原创 Fotran intrinsic procedures : time

学习内部函数的目的:内部函数提供了一些基本的操作,甚至一些操作只能通过内部函数来实现。program main implicit none !call date_and_time([date] [,time] [,zone] [,values]) !date a string of length 8 or more , form ccyymmdd(yyyymm...

2018-11-19 17:17:14 127

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除