03 2013 档案

Cubic Spline三次样条曲线
摘要://C9.cpp//CreatNatuarlCubicSpline#include<iostream.h>constintN=6;voidNCS(doublex[],doublea[],doubleb[],doublec[],doubled[],intn){doubleh[N-1],alpha[N-1],l[N],z[N],u[N];inti;for(i=0;i<n-1;i++){h[i]=x[i+1]-x[i];}for(i=1;i<n-1;i++){alpha[i]=3*(a[i+1]-a[i])/h[i]-3*(a[i]-a[i-1])/h[i-1];}//Now 阅读全文

posted @ 2013-03-07 09:13 _安静 阅读(1043) 评论(0) 推荐(0) 编辑

MySQL报错:The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
摘要:The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement解决办法:mysql> set global read_only=0;(关掉新主库的只读属性)flush privileges;set global read_only=1;(读写属相)flush privileges;Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEM 阅读全文

posted @ 2013-03-01 19:37 _安静 阅读(68539) 评论(0) 推荐(0) 编辑

导航