def simplify(self, table): """ Call a C++ implementation of the ESPRESSO algorithm to simplify the given truth table. .. TODO:: Implement this method. EXAMPLES:: sage: log = SymbolicLogic() sage: s = log.statement("a&b|!(c|a)") sage: t = log.truthtable(s) sage: log.simplify(t) Traceback (most recent call last): ... NotImplementedError """ raise NotImplementedError
On Fri, Jun 5, 2020 at 7:17 PM Hosein Hadipour <hsn.h...@gmail.com> wrote:
>
> Dear all,
>
> I am going to add an open source tool implemented by C, and C++ languages to one of the SageMath modules. In order to linking it to the Sage, I am going to use Cython. However, I don't know in which sage directory should I place the C or C++ source codes., if I want to add it to the Sage? I would be most grateful if someone helps me regarding this question. Thank you in advance for your helps.
>
if this tool is an executable or a library, it doesn't need to have
its source in SageMath at all.
It stays separate, only the interface makes it into SageMath modules.
HTH
Dima
> Kind regards,
> Hosein
>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-...@googlegroups.com.
I would be most grateful if someone let me know how I should start. It would be fine if you introduced to me, a simple example which has been already implented in Sage, so thst I could review it. Thanks for your time.
Cheers,
Hosein