Redian新闻
>
Anyone has simulation test for quickbooks to share?
avatar
Anyone has simulation test for quickbooks to share?# Accounting - 会计审计
t*r
1
能不能把交复印件?
办公证不容易。留着原件也许将来还有用处。
avatar
a*k
2
rt
haha
avatar
i*n
3
我想在c++ 里做optimization, 在网上找到如下的struct template, 只要自己写一个
函数
funcc 作为objective function就可以。 可是一直没有明白 class T 应该设成什么

比如说
double funcc(double a);
这时 class T 应写成什么呢? 多谢!
template
struct Funcd {
Doub EPS;
T &func;
Doub f;
Funcd(T &funcc) : EPS(1.0e-8), func(funcc) {}
Doub operator() (VecDoub_I &x)
{
return f=func(x);
}
void df(VecDoub_I &x, VecDoub_O &df)
{
Int n=x.size();
VecDoub xh=x;
Doub fold=f;
for (Int j=
avatar
xu
4
I took one test for QB at Accountemp, but not good enough.Would anybody
share
sample test if you have? Thanks!
avatar
J*A
5
我都是复印的,我律师说都给复印。。。
avatar
t*t
6
我google了一下好象是numerical recipe里抄来的, 不过你是不是理解不太对
这个struct Funcd似乎是你所需要的functor(你给它一个function, 它把你的function
包装成functor), 然后你把Funcd作为模板参数来instantiate另外的计算函数/类

【在 i*****n 的大作中提到】
: 我想在c++ 里做optimization, 在网上找到如下的struct template, 只要自己写一个
: 函数
: funcc 作为objective function就可以。 可是一直没有明白 class T 应该设成什么
: 。
: 比如说
: double funcc(double a);
: 这时 class T 应写成什么呢? 多谢!
: template
: struct Funcd {
: Doub EPS;

avatar
i*8
7
哪方面不好?
avatar
f*u
8
+1

【在 J*******A 的大作中提到】
: 我都是复印的,我律师说都给复印。。。
avatar
r*r
9
T 是 double (double)
avatar
xu
10
A/r, A/P,report.I think I know how to make journal entries, which is not
tested by simulation test.My weakness is how to use QB with related tasks.
Like one question is about how to sort in report while there is no software
interface available.The categories of weakness is mostly about usage of
software, not knowledge.
Thanks!

【在 i*******8 的大作中提到】
: 哪方面不好?
avatar
i*n
11
多谢, 可能我还是不太理解。 以下我尝试 min (x-1)^2 用dfpmin (是使用quasi
newton), 带入参数 Funcd(tryfun), 却无法compile, which
says "cannot convert from 'double (__cdecl *)(double &)' to 'Funcd'"
有解决的方法么?
#include
#include
#include
#include
#include
using namespace std;
typedef double Doub;
typedef int Int;
typedef vector VecDoub, VecDoub_I, VecDoub_O, VecDoub_IO;
template
void dfpmin(VecDoub_IO &p, const Doub gtol, Int &iter, Doub &f

【在 r*********r 的大作中提到】
: T 是 double (double)
avatar
i*8
12
哇!看来你没怎么用过quickbooks阿,建议你下载trialversion来练一下啊,只要
Knowledge过关这个软件应该不难的。一般可以免费使用60天。加油!

software

【在 xu 的大作中提到】
: A/r, A/P,report.I think I know how to make journal entries, which is not
: tested by simulation test.My weakness is how to use QB with related tasks.
: Like one question is about how to sort in report while there is no software
: interface available.The categories of weakness is mostly about usage of
: software, not knowledge.
: Thanks!

avatar
r*r
13
那么多 type matching 错误, 怎么可能编译得过去.
avatar
xu
14
Right,I am learning QB now.But it takes time to get used to all the commands
and
I try to look for more sample questions to check how familiar I am with the
bottons and tabs. Thank you very much for your support!

【在 i*******8 的大作中提到】
: 哇!看来你没怎么用过quickbooks阿,建议你下载trialversion来练一下啊,只要
: Knowledge过关这个软件应该不难的。一般可以免费使用60天。加油!
:
: software

avatar
i*n
15
除了 Funcd(tryfun)); type matching 外还有哪些问题呢? 多谢!

【在 r*********r 的大作中提到】
: 那么多 type matching 错误, 怎么可能编译得过去.
avatar
i*8
16
一般就是AR, AP, Bank(包括银行对帐,存款之类的), Loan, Credit Card, Journal
entry,Report。都操作一遍就应该差不多,而且他有help的,如果不会操作你可以搜
一下具体的问题,很容易找到答案。好运阿!

commands
the

【在 xu 的大作中提到】
: Right,I am learning QB now.But it takes time to get used to all the commands
: and
: I try to look for more sample questions to check how familiar I am with the
: bottons and tabs. Thank you very much for your support!

avatar
i*n
17
抱歉, 有些别的bug, 把 x的 type 从 double 改成 vector
#include
#include
#include
#include
#include
using namespace std;
typedef double Doub;
typedef int Int;
typedef vector VecDoub, VecDoub_I, VecDoub_O, VecDoub_IO;
template
void dfpmin(VecDoub_IO &p, const Doub gtol, Int &iter, Doub &fret, T
&funcd)
{
const Int ITMAX=200;
const Doub EPS=numeric_limits::epsilon();
const Doub TOLX=4*EPS,STPMX=100.0;
Bool check;

【在 r*********r 的大作中提到】
: 那么多 type matching 错误, 怎么可能编译得过去.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。